package top.stmo.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Import({JdbcConfig.class,MybatisConfig.class})
@Configuration
@ComponentScan({"top.stmo.service"})
@PropertySource("classpath:jdbc.properties")
@EnableTransactionManagement       //开启注解式事务驱动
public class SpringConfig {
}
